<template>
<div>
  <div class="ys_login_top">
    <a @click="toIndex" class="ys-imgto-Index">
    </a>
    <div class="ys-login-welcome">

    </div>
  </div>
</div>
</template>

<script>
export default {
  name: "LoginHeader",
  methods:{toIndex(){
      this.$router.push({path: '/shopIndex'})
    },}
}
</script>

<style>
.ys_login_top {
  height: 100px;
  width: auto;
  /*background-color: orange;*/
  box-sizing: border-box;
  overflow: hidden;
}
.ys-login-welcome{
  display: inline-block;
}
.ys_login_top > a {
  display: inline-block;
  height: 80px;
  width: 150px;
  /*border: 1px solid black;*/
  margin-top: 10px;
  margin-left: 500px;
  background-image: url("../assets/img/依尚logo.jpg");
  background-repeat: repeat;
  background-position: 50% 50%;
  background-size: 300px 200px;
}
</style>